﻿using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using ZhongKeSite.Entity;
using ZhongKeSite.Entity.Models;

namespace ZhongKeSite.Service
{
    public interface IFAQsService
    {
        #region FAQs管理
        LayPager<FAQs> GetFAQsPagedList(int pageIndex, int pageSize, Expression<Func<FAQs, bool>> predicate);
        ResultResponse<FAQs> GetFAQs(string id);
        ResultResponse AddFAQs(FAQs model);
        ResultResponse UpdateFAQs(FAQs model);
        ResultResponse UpdateFAQsState(List<string> ids, string userName, DataStatus dataStatus);
        #endregion
    }
}
